package com.xiyou.luckdraw.api.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: ExchangeListDto
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-14 15:15
 */

@Data
@ApiModel(value = "兑换列表dto")
public class ExchangeListDto {

    private Long id;
    @ApiModelProperty(value="用户Id")
    private Long userId;

    @ApiModelProperty(value="用户昵称")
    private String nickName;
    @ApiModelProperty(value="兑换商品Id")
    private Integer productId;
    @ApiModelProperty(value="兑换状态：0:默认，1：成功，2：失败")
    private Integer status;
    @ApiModelProperty(value="兑换数量")
    private Integer num;
    @ApiModelProperty(value="兑换商品名称")
    private String productName;
    @ApiModelProperty(value="兑换备注")
    private String remark;
    @ApiModelProperty(value="类型 0:默认,1:Q币，2：皮肤")
    private Integer type;
    @ApiModelProperty(value="创建时间")
    private Date createTime;
    @ApiModelProperty(value="变更时间")
    private Date modifyTime;
    @ApiModelProperty(value="头像")
    private String photo;
}
